package com.ms.content.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 这个是秒杀活动表
 * 
 * @author wc
 * @email sunlightcs@gmail.com
 * @date 2022-02-22 11:56:10
 */
@Data
@TableName("miaosha_activity")
public class MiaoshaActivityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date startDate;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date endDate;
	private Integer xg; //限购0为不限购  大于0的数值为没人限购数量
	private Integer ddqx; //订单取消   在下单后相隔多久未支付订单自动取消
	private Integer hdtx; //活动提醒
	private String hdtext; //活动分享描述
	private Integer hdcy; //0参与1不参与
	private Integer flag; //0秒杀活动正在执行  1秒杀活动已结束


//	@TableField(exist = false)
//	private Integer sid;
//	@TableField(exist = false)
//	private BigDecimal ms_price;
//	@TableField(exist = false)
//	private Integer ms_count;
//	@TableField(exist = false)
//	private Integer ms_staticby;
}
